package com.example.choupaiapp.main.util.video;

import android.util.SparseArray;

import com.dueeeke.videoplayer.player.VideoView;

/**
 * Created by ASUS on 2019/11/15.
 */

public class VideoMineHashMap {
    //    private static VideoHashMap videoHashMap = null;
    public static SparseArray<VideoView> map = null;

    private VideoMineHashMap() {

    }


    public static SparseArray<VideoView> getIntance() {
        if (map == null) {
            map = new SparseArray<>();
        }
//        if (videoHashMap == null) {
//            synchronized (VideoHashMap.class) {
//                if (videoHashMap == null) {
//                    videoHashMap = new VideoHashMap();
//                }
//            }
//        }
        return map;
    }

}
